<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:fragment="head(title)">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>创美个人网盘</title>
    <link rel="stylesheet" href="../static/bootstrap/css/bootstrap.min.css" th:href="@{/bootstrap/css/bootstrap.min.css}">
    <link rel="stylesheet" href="../static/css/me.css" th:href="@{/css/me.css}">
    <link rel="stylesheet" href="../static/bootstrap/css/bootstrapValidator.min.css" th:href="@{/bootstrap/css/bootstrapValidator.min.css}">
    <link rel="stylesheet" href="../static/css/animate.css" th:href="@{/css/animate.css}">
    <link rel="stylesheet" type="text/css" href="http://cdn.bootcss.com/bootstrap-select/2.0.0-beta1/css/bootstrap-select.css">
</head>
<body>


<!--导航-->
<nav th:fragment="menu(n)" class="navbar navbar-inverse lucency-sm rounded-no lucency-sm animated fadeIn">
    <div class="container">

        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">切换</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#" th:href="@{/}" ><b>创美网盘</b></a>
        </div>

        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">

                <li th:classappend="${n == 1} ? 'active'"><a th:href="@{/}" href="#"><span class="glyphicon glyphicon-home"></span> 首页</a></li>
                <li  th:classappend="${n == 2} ? 'active'"><a href="#" th:href="@{/goDisk}"><sapn class="glyphicon glyphicon-tag"></sapn> 网盘</a></li>
                <li th:classappend="${n == 3} ? 'active'"><a href="#" th:href="@{/dynamic/index}"><sapn class="
glyphicon glyphicon-align-left"></sapn> 动态</a></li>
                <li th:classappend="${n == 4} ? 'active'"><a th:href="@{/aboutus}" href="#"><span class="
glyphicon glyphicon-list"></span> 关于我们</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <!--<li><img id="avatar" src="http://www.blogry.cn/images/avatar.jpg" class="img-circle" width="40px" height="40px"></li>-->
                <li th:classappend="${n == 5} ? 'active'" ><a href="#" th:href="@{/loginIndex}"><sapn class="glyphicon glyphicon-user"></sapn> 登录</a></li>
                <!--<li class=""><a href="#"><span class="glyphicon glyphicon-pencil"></span> 修改</a></li>-->
            </ul>

        </div>
    </div>
</nav>

<th:block th:fragment="script">
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="../static/js/jq.js" th:src="@{/js/jq.js}"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="../static/bootstrap/js/bootstrap.min.js" th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
    <!--加载bootstrap验证器-->
    <script src="../static/bootstrap/js/bootstrapValidator.min.js" th:src="@{/bootstrap/js/bootstrapValidator.min.js}"></script>
    <script src="../static/js/me.js" th:src="@{/js/me.js}"></script>
    <script type="text/javascript" src="http://cdn.bootcss.com/bootstrap-select/2.0.0-beta1/js/bootstrap-select.js"></script>
</th:block>



</body>
</html>